package com.julis.activity.setting.deviceweihu;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.julis.R;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * 设备维护
 */
public class DeviceWeiHuActivity extends AppCompatActivity {

    @BindView(R.id.img_back)
    RelativeLayout imgBack;
    @BindView(R.id.tv_gonglv)
    TextView tvGonglv;
    @BindView(R.id.layout_gonglvtiaojie)
    RelativeLayout layoutGonglvtiaojie;
    @BindView(R.id.activity_seetting)
    LinearLayout activitySeetting;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_device_weihu);
        ButterKnife.bind(this);
    }

    @OnClick({R.id.img_back, R.id.layout_gonglvtiaojie, R.id.layout_psam})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.img_back:
                finish();
                break;
            case R.id.layout_gonglvtiaojie:
                startActivity(new Intent(this, Setting_Power_Activity.class));
                break;
            case R.id.layout_psam:
                startActivity(new Intent(this, PSAM_Activity.class));
                break;
        }
    }
}
